<%@ page pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<c:set var="ptn" value="######0.0000" />
<c:forEach items="${armItems}" var="aitem" varStatus="statu">
            	
	<tr id='amp${gindex}'
	    class="${aitem.actioned?"success":""}"
	>
		<td valign="bottom">	
		${aitem.host.code}			
		</td>
		<!-- 从左往右依次为 -->
		<!-- 产品名称 -->
		<td valign="bottom">
		${aitem.host.name}
		</td>
		<td valign="bottom">${aitem.dataItems['ForwardStore'].atomValue}</td>
		<td valign="bottom">${aitem.dataItems['ForwardStore'].accumulateValue}</td>
				
		<!-- 产品本日生产-->		
		
		
		<fmt:formatNumber var="aav"
			value="${aitem.dataItems['Action'].atomValue}" pattern="${ptn}" />
		<td valign="bottom">${aav}</td>

		<fmt:formatNumber var="alv"
			value="${aitem.dataItems['Action'].accumulateValue}" pattern="${ptn}" />
		<td valign="bottom"><label>${alv}</label></td>

		<fmt:formatNumber var="pav"
			value="${aitem.dataItems['Passed'].atomValue}" pattern="${ptn}" />
		<!-- 今日验收合格 -->
		<td valign="bottom">${pav}</td>
		<!-- 截止今日验收累计合格 -->
		<fmt:formatNumber var="plv"
			value="${aitem.dataItems['Passed'].accumulateValue}" pattern="${ptn}" />
		<td valign="bottom"><label>${plv}</label></td>

		<fmt:formatNumber var="wav"
			value="${aitem.dataItems['Waster'].atomValue}" pattern="${ptn}" />
		<td valign="bottom">${wav}</td>

		<fmt:formatNumber var="wlv"
			value="${aitem.dataItems['Waster'].accumulateValue}" 
			pattern="${ptn}" />
		<td valign="bottom"><label>${wlv}</label></td>

		<fmt:formatNumber var="tav"
			value="${aitem.dataItems['Test'].atomValue}" pattern="${ptn}" />
		<td valign="bottom">
		${tav}</td>

		<fmt:formatNumber var="tlv"
			value="${aitem.dataItems['Test'].accumulateValue}" pattern="${ptn}" />
		<td valign="bottom"><label>${tlv}</label></td>
		<td valign="bottom">${aitem.dataItems['FinalStore'].atomValue}</td>
		<td valign="bottom">
		${aitem.remark}
		</td>
		<td>
		${aitem.itemType}				
	    </td>

	</tr>	
	
</c:forEach>